﻿namespace Core
{
    public interface IVariantData
    {
    }

    public class BaseVariantData
    {
        public string Version;
        public bool IsRand;
        public int RandSeed;

        public void ApplyRandSeed()
        {
            int seed;
            if (IsRand)
            {
                seed = (int)System.DateTime.Now.Ticks;
            }
            else
            {
                seed = RandSeed;
            }
            Utils.Rand.InitState(seed);
        }
    }
}
